package com.woniuxy.service.hospital;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Emp;
import com.woniuxy.entity.Hospital;
import com.woniuxy.entity.excel.HospitalDTO;

import java.io.InputStream;
import java.util.List;

public interface HospitalService {
    /**
     * 导入Excel数据
     *
     * @param inputStream
     */
    void importHospitalDataFromExcel(InputStream inputStream);

    List<HospitalDTO> hospitalData();

    PageInfo<Hospital> findAll(Integer pageNum, Integer pageSize);

    int save(Hospital hospital);
    int update(Hospital hospital);
    int delete(Integer hId);

    List<Hospital> findAllHospital();

    List<Hospital> findLike(String str);

    List<Emp> findAllDockUser();
    List<Emp> findDockUserByHId(Integer hId);
}
